﻿using AppManager.IBLL;
using AppManager.Model;
using System.Runtime.Remoting.Messaging;

namespace AppManager.BLL
{
    public class Sys_RoleService : BaseService<Sys_Role>, IRoleService
    {
        public static Sys_RoleService Current
        {
            get
            {
                var name = typeof(Sys_RoleService).Name;
                var bll = CallContext.GetData(name) as Sys_RoleService;
                if (bll != null)
                {
                    return bll;
                }
                bll = new Sys_RoleService();
                CallContext.SetData(name, bll);
                return bll;
            }
        }
    }
}
